/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       artifact_icon.h

	$Header: /game/artifact_icon.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef ARTIFACT_ICON_H_INCLUDED
#define ARTIFACT_ICON_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "artifact.h"
#include "game_window.h"

class t_bitmap_layer_cache_window;

// -------------------------------------------------------------------
// window to display a artifact icon
// -------------------------------------------------------------------

class t_artifact_icon : public t_window
{
public:
	t_artifact_icon( t_screen_point const& point, t_window* parent);
	t_artifact_icon( t_artifact const& artifact, t_screen_point const& point,
		             t_window* parent);

	void set_artifact( t_artifact const& artifact );
protected:
	void create_image();

	t_artifact				 	 m_artifact;
	t_bitmap_layer_cache_window* m_image;
};

#endif // ARTIFACT_ICON_H_INCLUDED